home *** CD-ROM | disk | FTP | other *** search
-
-
-
- STIME(3) MINTLIB LIBRARY FUNCTIONS STIME(3)
-
-
- N✓NA✓AM✓ME✓E
- stime - set time
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <unistd.h>
-
- int stime(long *tp);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- stime sets the system's idea of the time and date. tp
- points to the value of time as measured in seconds from
- 00:00:00 GMT January 1, 1970.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- t✓ti✓im✓me✓e(✓(3✓3)✓),✓, T✓Ts✓se✓et✓td✓da✓at✓te✓e(✓(2✓2)✓),✓, T✓Ts✓se✓et✓tt✓ti✓im✓me✓e(✓(2✓2)✓)
-
- R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
- 0 on success. -1 on failure; errno is set to indicate
- the error.
-
- N✓NO✓OT✓TE✓E
- On UN*X, only the super-user may call this function.
- Under the current version of MiNT and using the current
- version of the mintlibs, any user is allowed to change the
- system time. Don't rely on this behavior, as it will be
- changed in the future.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-